package com.woniuxy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.woniuxy.mapper")
@EnableTransactionManagement
@ImportResource("classpath:transaction.xml")
@EnableScheduling
@EnableElasticsearchRepositories
public class YuekebackApplication {

    public static void main(String[] args) {
        SpringApplication.run(YuekebackApplication.class, args);
    }

}
